package output.visitor;

import output.visitee.AbstractElement;
import output.visitee.Element1;
import output.visitee.Element2;

public abstract class AbstractVisitor {
	public abstract void visit(Element1 element1);
	public abstract void visit(Element2 element1);
	
	public void accept(AbstractElement abstractElement){
		abstractElement.accept(this);
	}
}
